package cloud.maque.admin.service;

/**
 * @author zhuyf
 * @date 2023/3/17 16:22
 */

import cloud.maque.admin.domain.entity.MqEnumGroup;
import cloud.maque.framework.common.request.PaginateDataResquest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
 * @author 4color
 * @description mq_enum_group服务层
 * @date 2023-03-17
 */
public interface MqEnumGroupService extends IService<MqEnumGroup> {


    MqEnumGroup insert(MqEnumGroup group);

    Boolean delete(String groupId, String tenantId);

    /**
     * 分页查询
     *
     * @param pageReq
     * @return
     */
    PageInfo<MqEnumGroup> page(PaginateDataResquest<MqEnumGroup> pageReq);

}
